/* 首页内容的样式 */
/* banner */
.banner {
    background-color: #F5F5F5;
}

.banner .wrapper {
    width: 1240px;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.banner .wrapper .pic {
    width: 3720px;
    height: 500px;
    display: flex;
}

.banner .subnav {
    width: 250px;
    height: 500px;
    background-color: #5d5d5e;
    position: absolute;
    left: 0;
    top: 0;
}

.banner .subnav ul li {
    padding: 0 20px;
    height: 50px;
    line-height: 50px;
    justify-content: space-between;
    display: flex;
}

.banner .subnav ul li:hover {
    background-color: #00be9a;
    cursor: pointer;
}

.banner .subnav ul li a {
    font-size: 14px;
    color: #FFF;
}

.banner .wrapper .subnav .icon-arrow-right-bold {
    font-size: 14px;
    color: #FFF;
}

.banner .subnav ul li .classify {
    font-size: 16px;
    margin-right: 9px;
}

.banner .subnav ul li div a {
    margin-right: 5px;
}

/* 点 */
.banner .wrapper .dian ul {
    display: flex;
    position: absolute;
    align-items: center;
    right: 20px;
    bottom: 20px;
}

.banner .wrapper .dian ul li {
    width: 14px;
    height: 14px;
    background-color: #c2cfbd;
    margin-left: 16px;
    border-radius: 50% 50%;
}

.banner .wrapper .dian ul .fast {
    background-color: #c2cfbd;
    cursor: pointer;
    width: 22px;
    height: 22px;
}

.banner .wrapper .dian ul .fast div {
    border-radius: 50% 50%;
    margin: 4px;
    background-color: #f5f5f5;
    width: 14px;
    height: 14px;
}

/* 新鲜好物 */
/* 标题 -- 公共样式 */
.title {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    margin-bottom: 30px;
    height: 42px;
    /* background-color: pink; */
}

.title .left {
    display: flex;
}

.title .left h3 {
    margin-right: 35px;
    font-size: 30px;
}

.title .left p {
    align-self: flex-end;
    color: #A1A1A1;
}

.title .right .more {
    line-height: 42px;
    color: #A1A1A1;
}

.title .right .more .iconfont {
    margin-left: 10px;
}

/* 好物内容 -- 公共样式 */
.bd ul {
    display: flex;
    justify-content: space-between;
}

.bd li {
    width: 304px;
    height: 404px;
    background-color: #EEF9F4;
}

.bd li .pic {
    width: 304px;
    height: 304px;
}

.bd li .txt {
    text-align: center;
}

.bd li h4 {
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 20px;
}

.goods .bd p {
    font-size: 18px;
    color: #AA2113;
}

.goods .bd p span {
    margin-left: 3px;
    font-size: 22px;
}

/* 人气推荐 */
.recommend .bd li {
    background-color: #fff;
}

.recommend .bd p {
    color: #A1A1A1;
}


/* 热门品牌 */
.brand {
    margin-top: 60px;
    height: 468px;
    background-color: #F5F5F5;
}

.brand .wrapper {
    overflow: hidden;
    height: 468px;
    /* background-color: pink; */
}

.brand .title {
    position: relative;
    margin-bottom: 40px;
}

.brand .button {
    position: absolute;
    right: 0;
    bottom: -25px;

    /* 让a在一行显示，宽高生效 */
    display: flex;
}

.brand .button a {
    margin-left: 12px;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    color: #fff;
}

.brand .button .prev {
    background-color: #ddd;
}

.brand .button .next {
    background-color: #00BE9A;
}

.brand .bd li {
    width: 244px;
    height: 306px;
}

/* 生鲜标题 */
.fresh {
    height: 42px;
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
}

.fresh .t {
    font-size: 30px;
    font-family: PingFangSC-Regular, serif;
    color: #333;
}

.fresh ul {
    display: flex;
}

.fresh ul li {
    padding: 0 7px;
    margin-right: 20px;
}

.fresh .cont {
    display: flex;
    align-items: center;
}

.fresh .cont .all .arrow-right-bold {
    font-size: 14px;
}

.fresh .cont .all {
    color: #A1A1A1;
    margin-left: 55px;
}

.fresh ul .active {
    background-color: #00be9a;
}

.fresh .cont .icon-arrow-right-bold {
    margin-left: 12px;
    font-size: 14px;
}

/* 生鲜内容 */
.fresh-cont {
    margin-top: 20px;
    height: 610px;
    display: flex;
}

.fresh-cont .left {
    margin-right: 24px;
    width: 248px;
    height: 610px;
}

.fresh-cont .left a img {
    height: 610px;
    width: 248px;
}

.fresh-cont .right ul li {
    width: 242px;
    height: 305px;
    padding: 14px 21px;
    position: relative;
    overflow: hidden;
}

.fresh-cont .right ul {
    flex-wrap: wrap;
    display: flex;
}

.fresh-cont .right ul li .text {
    margin-top: 14px;
}

.fresh-cont .right ul li img {
    cursor: pointer;
    width: 190px;
    height: 171px;
}

.fresh-cont .right ul li .text .desc {
    font-family: PingFangSC-Regular, serif;
    font-size: 16px;
    color: #333333;
}

.fresh-cont .right ul li .text .price {
    color: #AF2F22;
}

.fresh-cont .right ul li .text .price span {
    margin-left: 4px;
    font-size: 22px;
}

.fresh-cont .right ul li .green {
    width: 242px;
    height: 82px;
    background-color: #00be9a;
    position: absolute;
    left: 0;
    bottom: -82px;
    transition: all 0.3s;
}

.fresh-cont .right ul li:hover {
    border: 2px solid #00be9a;
    padding: 12px 19px;;
}
.fresh-cont .right ul li:hover .green{
    bottom: 0;
}
.fresh-cont .right ul li .green {
    text-align: center;
}
.fresh-cont .right ul li .green .p1 {
    font-size: 18px;
    color: #FFF;
    margin-top: 15px;
    margin-bottom: 3px;
}

.fresh-cont .right ul li .green .p2 {
    margin-left: 60px;
    width: 120px;
    height: 1px;
    background-color: rgba(255,255,255,0.3);

}

.fresh-cont .right ul li .green .p3 {
    font-size: 16px;
    padding: 6px 10px;
}


/* 最新专题 */
/* 最新专题 */
.topic {
    margin-bottom: 40px;
}

.topic .title {
    margin-top: 100px;
}

.topic-bd ul {
    display: flex;
    justify-content: space-between;
}

.topic-bd li {
    width: 405px;
    height: 355px;
    background-color: pink;
}
.topic-bd ul {
    display: flex;
    justify-content: space-between;
}

.topic-bd li {
    width: 405px;
    height: 355px;
    background-color: pink;
}

.topic-bd .pic {
    position: relative;
    width: 405px;
    height: 288px;
}

.topic-bd .txt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    width: 405px;
    height: 67px;
    /* background-color: skyblue; */
    font-size: 14px;
    color: #666;
}

.topic-bd .txt .left {
    display: flex;
}

.topic-bd .txt .left p {
    margin-right: 20px;
}

.topic-bd .txt .left p:nth-child(1) i {
    color: #AA2113;
}

/* 定位区域 - 文字 */
.topic-bd .cover {
    position: absolute;
    left: 0;
    bottom: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 15px;
    width: 405px;
    height: 90px;
    background-image: linear-gradient(180deg, rgba(137,137,137,0.00) 0%, rgba(0,0,0,0.90) 100%);
}

.topic-bd .cover .left {
    color: #fff;
}

.topic-bd .cover .left h4 {
    margin-bottom: 6px;
    font-size: 20px;
}

.topic-bd .cover .right {
    padding: 0 7px;
    height: 25px;
    background-color: #fff;
    color: #AA2113;
    font-size: 15px;
}

.topic-bd .cover .right span {
    font-size: 18px;
}
